package com.springapp.mvc;

/**
 * Created by PhiHùng on 4/19/14.
 */
public class Data {
    private String title;
    private String url;

    public Data(String title, String url, int likeNum) {
        this.title = title;
        this.url = url;
        this.likeNum = likeNum;
    }

    public String getTitle() {
        return title;
    }

    public String getUrl() {
        return url;
    }

    public int getLikeNum() {
        return likeNum;
    }

    private int likeNum;

    public void setTitle(String title) {
        this.title = title;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public void setLikeNum(int likeNum) {
        this.likeNum = likeNum;
    }
}
